{% extends "base.html" %}

{% block title %}
  {{contest.name}}
{% endblock %}

{% block body %}

{% if created %}
<div class="captionCreated">
  Caption created. Vote on your caption, and share it with your friends!
</div>
{% endif %}

{% if not completed %}
<div>
  <span class="votingDeadline">
    Vote by {{vote_deadline}}.
  </span>
</div>
{% endif %}

{% include "meme-entries.html" %}

<div>
  <a href="/contest/{{contest.key.id}}">See other entries</a>
</div>
<br/><br/>

{% if contest.photo_credit %}
<div class="photoCredit">
  Original photo credit: {{contest.photo_credit}}
</div>
{% endif %}

{% endblock %}
